package cn.edu.ujn.shi.dao;


import java.io.Serializable;

/**
 * 投诉表
 *
 * @author LiChao
 * @since 2024-05-31
 */
public class Complain implements Serializable {

    /**
     * id
     */
    private Integer id;

    /**
     * 投诉人
     */
    private String complainant;

    /**
     * 投诉内容
     */
    private String content;

    /**
     * 投诉时间
     */
    private String complainTime;

    /**
     * 处理人
     */
    private String processedBy;

    /**
     * 处理内容
     */
    private String feedback;

    /**
     * 处理时间
     */
    private String feedbackTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getComplainant() {
        return complainant;
    }

    public void setComplainant(String complainant) {
        this.complainant = complainant;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getComplainTime() {
        return complainTime;
    }

    public void setComplainTime(String complainTime) {
        this.complainTime = complainTime;
    }

    public String getProcessedBy() {
        return processedBy;
    }

    public void setProcessedBy(String processedBy) {
        this.processedBy = processedBy;
    }

    public String getFeedback() {
        return feedback;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback;
    }

    public String getFeedbackTime() {
        return feedbackTime;
    }

    public void setFeedbackTime(String feedbackTime) {
        this.feedbackTime = feedbackTime;
    }

    @Override
    public String toString() {
        return "Complain{" +
        "id=" + id +
        ", complainant=" + complainant +
        ", content=" + content +
        ", complainTime=" + complainTime +
        ", processedBy=" + processedBy +
        ", feedback=" + feedback +
        ", feedbackTime=" + feedbackTime +
        "}";
    }

    public Complain(String complainant, String content, String complainTime) {
        this.complainant = complainant;
        this.content = content;
        this.complainTime = complainTime;
    }


    public Complain(Integer id, String complainant, String content, String complainTime, String processedBy, String feedback, String feedbackTime) {
        this.id = id;
        this.complainant = complainant;
        this.content = content;
        this.complainTime = complainTime;
        this.processedBy = processedBy;
        this.feedback = feedback;
        this.feedbackTime = feedbackTime;
    }
}
